/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.checkinfos.entity;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 审核记录Entity
 * @author zhangfn
 * @version 2017-08-30
 */
public class Checkinfos extends DataEntity<Checkinfos> {
	
	private static final long serialVersionUID = 1L;
	private String organizeLifeId;		// 活动ID
	private String approveUserId;		// 审批人
	private String approveStatus;		// 审核状态
	private String approveContent;		// 审批意见
	private String shName;//审核人姓名
	private String shTime;//审批时间
	
	
	
	public Checkinfos(String organizeLifeId, String approveUserId, String approveStatus, String approveContent) {
		this.organizeLifeId = organizeLifeId;
		this.approveUserId = approveUserId;
		this.approveStatus = approveStatus;
		this.approveContent = approveContent;
	}

	public String getShTime() {
		return shTime;
	}

	public void setShTime(String shTime) {
		this.shTime = shTime;
	}

	public String getShName() {
		return shName;
	}

	public void setShName(String shName) {
		this.shName = shName;
	}

	public Checkinfos() {
		super();
	}

	public Checkinfos(String id){
		super(id);
	}

	@Length(min=0, max=64, message="活动ID长度必须介于 0 和 64 之间")
	public String getOrganizeLifeId() {
		return organizeLifeId;
	}

	public void setOrganizeLifeId(String organizeLifeId) {
		this.organizeLifeId = organizeLifeId;
	}
	
	@Length(min=0, max=64, message="审批人长度必须介于 0 和 64 之间")
	public String getApproveUserId() {
		return approveUserId;
	}

	public void setApproveUserId(String approveUserId) {
		this.approveUserId = approveUserId;
	}
	
	@Length(min=0, max=1, message="审核状态长度必须介于 0 和 1 之间")
	public String getApproveStatus() {
		return approveStatus;
	}

	public void setApproveStatus(String approveStatus) {
		this.approveStatus = approveStatus;
	}
	
	@Length(min=0, max=512, message="审批意见长度必须介于 0 和 512 之间")
	public String getApproveContent() {
		return approveContent;
	}

	public void setApproveContent(String approveContent) {
		this.approveContent = approveContent;
	}
	
}